const mixin = {
  data() {
    return {
      message: 'hello',
      foo: 'abc'
    }
  },
  computed: {
    name() {
      return this.message + this.foo
    }
  },
  methods: {
    mixinfun() {
      console.log('我是mixin方法')
    }
  }
}
export default mixin
